
import React from "react"

import config from './router/config'
import RouterView from "./router/RouterView"
import { HashRouter as Router } from "react-router-dom"
import stort from "./store/index"
import StoreScontext from "./context/StoreContext"
const App: React.FC = () => {

  return <StoreScontext.Provider value={stort}>
    <Router>
      <RouterView routes={config} />
    </Router>
  </StoreScontext.Provider>

}
export default App